﻿using System.Collections.Generic;
using System.Threading.Tasks;
using LinkedInWinRTClient.Helpers.Models;

namespace LinkedInWinRTClient.Client
{
    public interface ISocialClient
    {
        Task<bool> LoginAsync();
        void Logout();
        Task<string> ApiRequestAsync(string url);
        Task<Person> RefreshUserInfoAsync();
        Person AuthenticatedUser { get; set; }
        bool IsLoggedIn { get; }
        Credentials Credentials { get; set; }
    }
}
